package com.nercel.dsj.gksales.dao.mapper;

/**
 * @author sunlin
 * @date 2018-10-31
 * @param <T>
 */
public interface BaseMapper<T> {

    int deleteByPrimaryKey(Integer id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);

}
